package cn.fl.capital.service;

import cmm.mid.core.framework.page.DataResultVO;
import cn.fl.capital.vo.CapPayListRepVO;
import cn.fl.capital.condition.CapPayListRepQueryCondition;
import cn.fl.capital.dto.CapPayListRepDTO;
import cmm.mid.core.framework.page.KeyValueVO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.cmm.base.framework.constant.BaseExceptionConstant;

import java.util.List;

/**
 * @Description: 资金放款报表 客户端服务层接口
 * 业务层方法名称前缀：
 * 新增：add*
 * 删除：remove*
 * 修改：modify*
 * 批量：batch*
 * 查询对象：select* get*
 * 查询集合：search*
 */
public interface ICapPayListRepService {
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public CapPayListRepVO selectById(Long id) throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(CapPayListRepVO entity) throws BaseException;
    
    /**
     * 批量删除
     * @param ids
     * @return
     */
    public boolean removeByIds(List<Long> ids) throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(CapPayListRepVO entity) throws BaseException;

    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page) throws BaseException;
    
    /**
     * 根据条件查询所有
     * @param condition
     * @return
     */
    public List<CapPayListRepVO> searchList(CapPayListRepQueryCondition condition) throws BaseException;
    
    /**
     * 查询*数据字典
     * @param groupCd 组代码
     * @return List<KeyValueVO>
     */
    public List<KeyValueVO> searchCdList(String groupCd);

    /**
     * 导出资金放款报表exc
     * @param list 导出的数据
     * @return
     * @throws BaseException
     */
    public DataResultVO exportCapPayListRep(List<CapPayListRepVO> list) throws BaseException;

    /**
     *
     * @param list ids 集合
     * @return
     * @throws BaseException
     */
    public List<CapPayListRepVO> selectByIds(List<Long> list)  throws BaseException;
    
}
